<%@ include file="/common/taglibs.jsp"%>
<%@ page language="java" errorPage="/error.jsp" pageEncoding="UTF-8" contentType="text/html;charset=utf-8" %>
<%@ page import="java.util.*,com.carsite.webapp.help.BranchDeptHelp"%>


<table width="195" border="0" cellpadding="0" cellspacing="0">
  <tr>
   
 
    <td width="170"  height="587" align="left" valign="top" >   
			<table width="160" border="0">
			
			<tr>
					<td width="3">&nbsp;</td>
					<td width="167">
						
						    
				       <link type="text/css" rel="stylesheet" href="tree/xtree.css">
					   <script src="tree/xtree.js"></script>
					   <script language="javascript">
					      function onSel(id,type){
							if(type==0){
							     window.parent('contentPage').location.href="editDepartment.html?from=menu&deptId="+id;
							 }else if(type==1){
							      window.parent('contentPage').location.href="editBranch.html?from=menu&branchId="+id;  
							 }
							 
						  }     
				       </script>
				       
					   <script>
						 <%=BranchDeptHelp.dumpBranchDeptScript((List)request.getAttribute("branchList"),"","")%>
						 document.write(rootTree);
					  </script> 
	  
					</td>
			</tr>
			</table>

    </td>
  </tr>
</table>

